package com.example.taximeter.bean;


import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.sql.Blob;
import java.util.Date;

/**
 * 参数文件_视图
 */
public class ParamFileView {

    private String id;//参数文件id--主键

    private Integer factid;//计价器厂商id--外键

    private Integer jjqtypeid;//计价器型号id--外键

    private Integer priceid;//价格类别id--外键

    private String factname;//计价器厂商名称

    private String jjqtype;//计价器型号

    private String pricetype;//计价器价格类别

    private String pricefileno;//物价文件编号

    private String filename;//升级文件名称

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date stime;//录入时间

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private String stimel;//录入时间起

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private String stimer;//录入时间止

    private Integer trafficcheck;//交通局审核标记

    private Integer pricecheck;//物价局审核标记

    private Integer metrologycheck;//计量局审核标记

    private String version;//升级文件版本号

    private Blob fileinfo;//升级文件内容

    private Integer newbj;//最新版本标记

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date traffictime;//交通局审核时间

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date pricetime;//物价局审核时间

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date metrologytime;//计量局审核时间

    @Override
    public String toString() {
        return "ParamFileView{" +
                "id='" + id + '\'' +
                ", factid=" + factid +
                ", jjqtypeid=" + jjqtypeid +
                ", priceid=" + priceid +
                ", factname='" + factname + '\'' +
                ", jjqtype='" + jjqtype + '\'' +
                ", pricetype='" + pricetype + '\'' +
                ", pricefileno='" + pricefileno + '\'' +
                ", filename='" + filename + '\'' +
                ", stime=" + stime +
                ", stimel='" + stimel + '\'' +
                ", stimer='" + stimer + '\'' +
                ", trafficcheck=" + trafficcheck +
                ", pricecheck=" + pricecheck +
                ", metrologycheck=" + metrologycheck +
                ", version='" + version + '\'' +
                ", fileinfo=" + fileinfo +
                ", newbj=" + newbj +
                ", traffictime=" + traffictime +
                ", pricetime=" + pricetime +
                ", metrologytime=" + metrologytime +
                ", fileid='" + fileid + '\'' +
                ", writeuser='" + writeuser + '\'' +
                ", memo='" + memo + '\'' +
                '}';
    }


    private String fileid;//文件id

    private String writeuser;//录入用户

    private String memo;//备注

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getFactid() {
        return factid;
    }

    public void setFactid(Integer factid) {
        this.factid = factid;
    }

    public Integer getJjqtypeid() {
        return jjqtypeid;
    }

    public void setJjqtypeid(Integer jjqtypeid) {
        this.jjqtypeid = jjqtypeid;
    }

    public Integer getPriceid() {
        return priceid;
    }

    public void setPriceid(Integer priceid) {
        this.priceid = priceid;
    }

    public String getFactname() {
        return factname;
    }

    public void setFactname(String factname) {
        this.factname = factname;
    }

    public String getJjqtype() {
        return jjqtype;
    }

    public void setJjqtype(String jjqtype) {
        this.jjqtype = jjqtype;
    }

    public String getPricetype() {
        return pricetype;
    }

    public void setPricetype(String pricetype) {
        this.pricetype = pricetype;
    }

    public String getPricefileno() {
        return pricefileno;
    }

    public void setPricefileno(String pricefileno) {
        this.pricefileno = pricefileno;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public Date getStime() {
        return stime;
    }

    public void setStime(Date stime) {
        this.stime = stime;
    }

    public String getStimel() {
        return stimel;
    }

    public void setStimel(String stimel) {
        this.stimel = stimel;
    }

    public String getStimer() {
        return stimer;
    }

    public void setStimer(String stimer) {
        this.stimer = stimer;
    }

    public Integer getTrafficcheck() {
        return trafficcheck;
    }

    public void setTrafficcheck(Integer trafficcheck) {
        this.trafficcheck = trafficcheck;
    }

    public Integer getPricecheck() {
        return pricecheck;
    }

    public void setPricecheck(Integer pricecheck) {
        this.pricecheck = pricecheck;
    }

    public Integer getMetrologycheck() {
        return metrologycheck;
    }

    public void setMetrologycheck(Integer metrologycheck) {
        this.metrologycheck = metrologycheck;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Blob getFileinfo() {
        return fileinfo;
    }

    public void setFileinfo(Blob fileinfo) {
        this.fileinfo = fileinfo;
    }

    public Integer getNewbj() {
        return newbj;
    }

    public void setNewbj(Integer newbj) {
        this.newbj = newbj;
    }

    public Date getTraffictime() {
        return traffictime;
    }

    public void setTraffictime(Date traffictime) {
        this.traffictime = traffictime;
    }

    public Date getPricetime() {
        return pricetime;
    }

    public void setPricetime(Date pricetime) {
        this.pricetime = pricetime;
    }

    public Date getMetrologytime() {
        return metrologytime;
    }

    public void setMetrologytime(Date metrologytime) {
        this.metrologytime = metrologytime;
    }

    public String getFileid() {
        return fileid;
    }

    public void setFileid(String fileid) {
        this.fileid = fileid;
    }

    public String getWriteuser() {
        return writeuser;
    }

    public void setWriteuser(String writeuser) {
        this.writeuser = writeuser;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
